package com.cheyunkeji.er.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Michael on 2017/4/20 17:11.
 */

public class UserInfo implements Serializable {

    private String mid;
    private String mobile;
    private String sex;
    private String realname;
    private String qq;
    private String locked;
    private String dateline;
    private String authkey;

    /**
     * 可用通道列表
     */
    private List<ChannelListBean> ok_list ;

    /**
     * 不可用通道列表
     */
    private List<UnAvailableChannelBean> no_list ;

    @Override
    public String toString() {
        return "UserInfo{" +
                "mid='" + mid + '\'' +
                ", mobile='" + mobile + '\'' +
                ", sex='" + sex + '\'' +
                ", realname='" + realname + '\'' +
                ", qq='" + qq + '\'' +
                ", locked='" + locked + '\'' +
                ", dateline='" + dateline + '\'' +
                ", authkey='" + authkey + '\'' +
                ", channel_list=" +
                '}';
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getLocked() {
        return locked;
    }

    public void setLocked(String locked) {
        this.locked = locked;
    }

    public String getDateline() {
        return dateline;
    }

    public void setDateline(String dateline) {
        this.dateline = dateline;
    }

    public String getAuthkey() {
        return authkey;
    }

    public void setAuthkey(String authkey) {
        this.authkey = authkey;
    }

    public List<ChannelListBean> getChannel_list() {
        return ok_list;
    }

    public void setChannel_list(List<ChannelListBean> channel_list) {
        this.ok_list = channel_list;
    }

    public List<UnAvailableChannelBean> getNo_list() {
        return no_list;
    }

    public void setNo_list(List<UnAvailableChannelBean> no_list) {
        this.no_list = no_list;
    }

    public static class ChannelListBean implements  Serializable {
        /**
         * uid : 87
         * channel : 4
         * title : 测试通道0004公司
         * groupname : 超级管理员
         * isadmin : 1
         * isarchiver : 1
         * israpid : 1
         * isauction : 1
         * admin_realname : 测试账户0005
         * admin_mobile : 15868840005
         * apps :
         * state : 1
         * starttime : 1451577600
         * endtime : 1672416000
         * ckey : {"Y7e_e73a691f02a46500201c3998e6a2989d":"8f64FZShwHoD53qTFQnyBIxwG/NwnDKBf0JanScf"}
         */

        private String uid;
        private String channel;
        private String title;
        private String groupname;
        private int isadmin;
        private int isarchiver;
        private int israpid;
        private int isauction;
        private String admin_realname;
        private String admin_mobile;
        private String apps;
        private int state;
        private int starttime;
        private int endtime;

        private int locked;
        private int cm_state;

        private String Y7e_ckey;

        private AuthListBean auth_list ;

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getChannel() {
            return channel;
        }

        public void setChannel(String channel) {
            this.channel = channel;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getGroupname() {
            return groupname;
        }

        public void setGroupname(String groupname) {
            this.groupname = groupname;
        }

        public int getIsadmin() {
            return isadmin;
        }

        public void setIsadmin(int isadmin) {
            this.isadmin = isadmin;
        }

        public int getIsarchiver() {
            return isarchiver;
        }

        public void setIsarchiver(int isarchiver) {
            this.isarchiver = isarchiver;
        }

        public int getIsrapid() {
            return israpid;
        }

        public void setIsrapid(int israpid) {
            this.israpid = israpid;
        }

        public int getIsauction() {
            return isauction;
        }

        public void setIsauction(int isauction) {
            this.isauction = isauction;
        }

        public String getAdmin_realname() {
            return admin_realname;
        }

        public void setAdmin_realname(String admin_realname) {
            this.admin_realname = admin_realname;
        }

        public String getAdmin_mobile() {
            return admin_mobile;
        }

        public void setAdmin_mobile(String admin_mobile) {
            this.admin_mobile = admin_mobile;
        }

        public String getApps() {
            return apps;
        }

        public void setApps(String apps) {
            this.apps = apps;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public int getStarttime() {
            return starttime;
        }

        public void setStarttime(int starttime) {
            this.starttime = starttime;
        }

        public int getEndtime() {
            return endtime;
        }

        public void setEndtime(int endtime) {
            this.endtime = endtime;
        }



//        public String getCvalue() {
//            return cvalue;
//        }
//
//        public void setCvalue(String cvalue) {
//            this.cvalue = cvalue;
//        }

//        public CkeyBean getCkey1() {
//            return ckey1 = new CkeyBean(getCvalue(), getY7e_ckey());
//        }

        public int getLocked() {
            return locked;
        }

        public void setLocked(int locked) {
            this.locked = locked;
        }

        public int getCm_state() {
            return cm_state;
        }

        public void setCm_state(int cm_state) {
            this.cm_state = cm_state;
        }

        public String getY7e_ckey() {
            return Y7e_ckey;
        }

        public void setY7e_ckey(String y7e_ckey) {
            Y7e_ckey = y7e_ckey;
        }


//        public static class CkeyBean implements Serializable {
//
//            /**
//             * Y7e_e73a691f02a46500201c3998e6a2989d : 8f64FZShwHoD53qTFQnyBIxwG/NwnDKBf0JanScf
//             */
//
//
//            private String Y7e_e73a691f02a46500201c3998e6a2989d;
//            private String Ykey;
//
//            public CkeyBean(String y7e_e73a691f02a46500201c3998e6a2989d, String ykey) {
//                Y7e_e73a691f02a46500201c3998e6a2989d = y7e_e73a691f02a46500201c3998e6a2989d;
//                Ykey = ykey;
//            }
//
//            public String getYkey() {
//                return Ykey;
//            }
//
//            public void setYkey(String ykey) {
//                Ykey = ykey;
//            }
//
//            public String getY7e_e73a691f02a46500201c3998e6a2989d() {
//                return Y7e_e73a691f02a46500201c3998e6a2989d;
//            }
//
//            public void setY7e_e73a691f02a46500201c3998e6a2989d(String Y7e_e73a691f02a46500201c3998e6a2989d) {
//                this.Y7e_e73a691f02a46500201c3998e6a2989d = Y7e_e73a691f02a46500201c3998e6a2989d;
//            }
//        }

        public AuthListBean getAuth_list() {
            return auth_list;
        }

        public void setAuth_list(AuthListBean auth_list) {
            this.auth_list = auth_list;
        }

        public static class AuthListBean implements Serializable {

            private List<Integer> ra;
            private List<Integer> bu;
            private List<Integer> mo;
            private List<Integer> co;
            private List<Integer> ot;
            private List<Integer> go;

            public List<Integer> getRa() {
                return ra;
            }

            public void setRa(List<Integer> ra) {
                this.ra = ra;
            }

            public List<Integer> getBu() {
                return bu;
            }

            public void setBu(List<Integer> bu) {
                this.bu = bu;
            }

            public List<Integer> getMo() {
                return mo;
            }

            public void setMo(List<Integer> mo) {
                this.mo = mo;
            }

            public List<Integer> getCo() {
                return co;
            }

            public void setCo(List<Integer> co) {
                this.co = co;
            }

            public List<Integer> getOt() {
                return ot;
            }

            public void setOt(List<Integer> ot) {
                this.ot = ot;
            }

            public List<Integer> getGo() {
                return go;
            }

            public void setGo(List<Integer> go) {
                this.go = go;
            }
        }
    }
}
